package com.hopu.iocdemo1;

import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Component;

@Qualifier("intel")
@Component
public class IntelCpu implements ICpu{

    @Override
    public void run() {
        System.out.println("使用因特而CPU进行运算");
    }
}
